package com.mdd.front.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 接单详情信息参数
 * @author LikeAdmin
 */
@Data
@ApiModel("接单详情信息更新参数")
public class OrderAcceptDetailsUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "主键")
    private String id;

    @NotNull(message = "laOrderAcceptId参数缺失")
    @ApiModelProperty(value = "接单表id")
    private String laOrderAcceptId;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "订单状态:已预约0,已经出发1，服务中2，已经完成3")
    private String status;

    @NotNull(message = "remark参数缺失")
    @ApiModelProperty(value = "备注")
    private String remark;

}
